add tests for notification attributes method and event 
diff --git a/notifications/event-onshow-001.html b/notifications/event-onshow-001.html new file mode 100644 index 0000000..a7b2eb0 --- /dev/null +++ b/notifications/event-onshow-001.html 
@@ -0,0 +1,22 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Web Notifications Test: notification - onshow (basic)</title> +<link rel="author" title="Intel" href="http://www.intel.com/"> +<link rel="author" title="Xin Liu" href="mailto:xinx.liu@intel.com"> +<link rel="help" title="5 API" href="http://www.w3.org/TR/notifications/"> +<meta name="flags" content=""> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="support/notifications.js"></script> +<body> + <div id="log"></div> + <script> + t = async_test("the notification.onshow event can be invoked", {timeout: 50000}); + getnotification(); + notification.show(); + notification.onshow = t.step_func(function(e) { + assert_equals(Object.prototype.toString.call(e), "[object Event]", "the type of event"); + t.done(); + }) + </script> +</body>